package com.chinasofti.zbestadmin.dao.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单
 * </p>
 *
 * @author zbestadmin
 * @since 2019-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Order implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 订单ID
     */
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    /**
     * 快递单id
     */
    private Integer expressageId;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * 下单人id
     */
    private Integer userId;

    /**
     * 下单时间
     */
    private LocalDateTime createTime;

    /**
     * 收货人姓名
     */
    private String receivingName;

    /**
     * 收货人电话
     */
    private String receivingPhone;

    /**
     * 收货地址
     */
    private String address;

    /**
     * 数量
     */
    private Integer orderCount;

    /**
     * 订单备注
     */
    private String orderNote;

    /**
     * 支付方式:1货到付款，2余额，3网银，4支付宝，5微信
     */
    private String orderPay;

    /**
     * 订单状态
     */
    private String orderStatus;

    /**
     * 支付金额
     */
    private BigDecimal orderMoney;


}
